<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<style lang="scss">
* {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

html, body, #app {
  height: 100%;
}
.h100 {
  height: 100%;
}

// enter  定义进入过渡的开始
.slide-enter,
.slide-leave-to {
  transform: translateY(100%);
}

// enter-to  定义进入过渡的结束
.slide-enter-to,
.slide-leave {
  transform: translateY(0);
}

// enter-active   定义进入过渡生效时的状态
.slide-enter-active,
.slide-leave-active {
  transition: transform 0.3s linear;
}


// enter  定义进入过渡的开始
.slideleft-enter,
.slideleft-leave-to {
  .mark {
    opacity: 0;
  }
  .list {
    transform: translateX(100%)
  }
}

.slideleft-enter-to,
.slideleft-leave {
  .mark {
    opacity: 1;
  }
  .list {
    transform: translateX(0)
  }
}

.slideleft-enter-active,
.slideleft-leave-active {
  transition: all .3s linear;
  .mark {
    transition: opacity .3s linear;
  }
  .list {
    transition: transform .3s linear;
  }
}

</style>
